package org.example.design.observer;

/**
 * @Classname MinibusTargetService
 * @Description 小客车指标服务
 * @Date 2020/11/11 10:10 上午
 * @Created by xiangjd
 */
public class MinibusTargetService {

    public String lottery(String uid) {
        return Math.abs(uid.hashCode()) % 2 == 0 ? "恭喜你,编码"
                .concat(uid).concat("在本次摇号中签") : "抱歉很遗憾，编码"
                .concat(uid).concat("在本次摇号未中签或者摇号已过期！");
    }


}
